﻿<%@ Page Language="C#"  MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Chapter.aspx.cs" Inherits="BookOnline.Chapter" %>

<%@ Register Assembly="ComponentArt.Web.UI" Namespace="ComponentArt.Web.UI" TagPrefix="ComponentArt" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<script src="style/book1/js/jquery.hotkeys.js" type="text/javascript"></script>
<script language="javascript">
<!--


    $(document).ready(
	function() {


	    //demo2带初始数据
	    var initData = [<%=returnbody.ToString() %>];

	    $("#pagetest2").pagination({ CookieChapterID:<%=chapter_.ChapterID.ToString() %>,totalRecord: <%=chapter_.ChapterList.Count.ToString()%>, dataStore: initData, groupSize: <%=chapter_.ChapterPage.ToString() %>, proxyUrl: 'default.aspx', perPage: <%=chapter_.ChapterPageNum.ToString() %>, barPosition: 'top' });

	}
)
//-->
</script>

<form runat="server" id="form1">
<div class="content_left">
    <div>
        <div class="content_left_cover">
            <object 
            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" 
             width="150" height="220" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
              <param name="movie" value="swf/Currencyshow.swf?data=xml/index.xml" />
              <param name="quality" value="high" />
              <param name="wmode" value="transparent" />
              <embed src="swf/Currencyshow.swf?data=xml/index.xml?" 
            wmode="transparent" quality="high" 
            pluginspage="http://www.macromedia.com/go/getflashplayer" 
            type="application/x-shockwave-flash" width="150" height="220"></embed>
            </object>
        </div>
        <div class="content_left_tools">
            <div >
                  <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="style/book1/images/left_tools_bottom_sc.gif" /></div>
                  <br />
            <div ><asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="style/book1/images/left_tools_bottom_tj.gif" /></div>
            <br />
            <div ><asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="style/book1/images/left_tools_bottom_pl.gif" /></div>
        </div>
        <div class="content_left_tools_title">
            <asp:Label ID="tools_title_Lab" runat="server" Text="Label"></asp:Label>
        </div>
        <div id="content_left_tools_list">
<ComponentArt:Snap id="Snap1"
      DockingContainers="content_left_tools_list"
      CurrentDockingContainer="content_left_tools_list"
      CurrentDockingIndex="0"
      CollapseDuration="300"
      ExpandDuration="300"
      DraggingStyle="None"
      DockingStyle="None"
      MinimizeDirectionElement="Menu1_0"
      MinimizeDuration="250"
      MinimizeSlide="None"
      MustBeDocked="false"
      IsCollapsed="false"
      runat="server">
    <Header>
      <table class="SnapHeader" cellspacing="0" cellpadding="0" border="0">
        <tr>
          <td style="width:100%;padding:3px;font-size:11px; text-align:left;" >_ 章节：</td>
          <td style="width:15px;padding:1px;"><img onclick="Snap1.toggleExpand();" src="style/book1/images/toggle_expand.gif" alt="" width="15" height="14" style="cursor:pointer;" onmouseover="this.src='style/book1/images/toggle_expandHover.gif';" onmouseout="this.src='style/book1/images/toggle_expand.gif';" onmousedown="this.src='style/book1/images/toggle_expandActive.gif';" onmouseup="this.src='style/book1/images/toggle_expandHover.gif';" /></td>
        </tr>
      </table>
      </Header>
      <CollapsedHeader>
      <table class="SnapHeaderCollapsed" cellspacing="0" cellpadding="0" border="0">
        <tr>
         <td style="width:100%;padding:3px;font-size:11px; text-align:left;" >_ 章节：</td>
          <td style="width:15px;padding:1px;"><img onclick="Snap1.toggleExpand();" src="style/book1/images/collapsed_toggleExpand.gif" alt="" width="15" height="14" style="cursor:pointer;" onmouseover="this.src='style/book1/images/collapsed_toggleExpandHover.gif';" onmouseout="this.src='style/book1/images/collapsed_toggleExpand.gif';" onmousedown="this.src='style/book1/images/collapsed_toggleExpandActive.gif';" onmouseup="this.src='style/book1/images/collapsed_toggleExpandHover.gif';" /></td>
        </tr>
      </table>
      </CollapsedHeader>
    <Content>
        

      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="SnapContent">
        <tr>
          <td>
          <asp:Panel ID="Panel1" runat="server" Height="350px" ScrollBars="auto"  BorderWidth="0px">
          <table cellpadding="2" cellspacing="0" border="0" width="175px;">
              <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
          </table>
          </asp:Panel> 
          </td>
        </tr>
      </table>

    </Content>
    <Footer>
    <table cellspacing="0" cellpadding="0" border="0">
      <tr>
        <td><img src="style/book1/images/clear.gif" width="15" height="15" alt=""/></td>
      </tr>
    </table>
    </Footer>
    </ComponentArt:Snap>
        </div>
    </div>
</div>
<div class="content_right">
    <div class="content_title content_size">[查看_:作品文章系统]</div>
    <div class="book_title"><%=chapter_.ChapterName.ToString()%> (<%=chapter_.ChapterSize.ToString()%>)个字</div>
    <div class="book_nav">12px 14px 16px</div>
    <div class="book_body">
        <div id="pagetest2" style="border-top:0; height:680px;"></div>
    
    </div>
</div>
<div class="bottom_bg"></div>


</form>

</asp:Content>